package com.zf.zffencheng.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zf.zffencheng.model.dto.TenantPalaceFilter;
import com.zf.zffencheng.model.pojo.TenantPalace;
import com.zf.zffencheng.model.vo.TenantPalaceVo;

import java.util.List;

/**
 * ClassName: TenantPalaceService <br/>
 * Description:  <br/>
 * date: 2021/5/28 16:34<br/>
 *
 * @author william <br/>
 */
public interface TenantPalaceService extends IService<TenantPalace> {
    /**
     * 查询寺院的大殿 倒叙
     * @param tenantId
     * @return
     */
    List<TenantPalace> selectByTenantIdDesc(Integer tenantId);

    /**
     * 查询大殿id
     * @param filter
     * @return
     */
    Page<TenantPalaceVo> queryFilter(TenantPalaceFilter filter);
}
